import request from '@/utils/request-three'

export function getListc(params) {  
    return request({
        url: 'dai/query/setting',
        method: 'GET',
        params,
    })
}
export function addPei(params) {  
    return request({
        url: 'dai/query/setting',
        method: 'GET',
        params,
    })
}

export function deleteList(data){
    return request({
        url: 'dai/remove/opennotice',
        method: 'POST',
        data
    })
}

export function editgong(data,id){
    return request({
        url: 'dai/update/opennotice?id=' + id,
        method: 'POST',
        data
    })
}